#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QCloseEvent>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected:
	void closeEvent(QCloseEvent *event);

private:
	void doSomeThing0();
	void doSomeThing1();
	void doSomeThing2();
	void toDoOneThing(int _index);

private:
    Ui::MainWindow *ui;

	const std::vector<QString> DOT_VECTOR =
	{
		".",
		"..",
		"...",
		"....",
		".....",
	};

	const int SLEEP_TIME = 20;
	bool isFinished_ = false;
};

#endif // MAINWINDOW_H
